import requests
import re

headers = {
    'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 '
                   '(KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36'
}
url = 'https://www.zhihu.com/explore'


r = requests.get(url=url, headers=headers)
pattern = re.compile('explore-feed.*?question_link.*?>(.*?)</a>', re.S)
title = re.findall(pattern, r.text)
for ta in title:
    print(ta)


